gcc-4.7.4

GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify

sh

m4
gmp <- m4
./configure --prefix=/usr/local/m4-1.4 && make && make install

GMP
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/local/m4-1.4/bin
./configure --prefix=/usr/local/gmp-6.0.0 && make && make install

mpfr
./configure --prefix=/usr/local/mpfr-3.1.2  --with-gmp=/usr/local/gmp-6.0.0/ && make && make install

mpc
./configure --prefix=/usr/local/mpc-1.0.2 --with-gmp=/usr/local/gmp-6.0.0/ --with-mpfr=/usr/local/mpfr-3.1.2/ && make && make install

gcc
./configure  --with-gmp=/usr/local/gmp-6.0.0/ --with-mpfr=/usr/local/mpfr-3.1.2/ --with-mpc=/usr/local/mpc-1.0.2/ && make && make install
